package com.sunshine.ssm.test.spring.circle;

/**
 * @Description: 循环依赖
 * @author: Hong.Wei
 * @Date: 2016/12/29 9:41
 */
public class CircleB {

    private CircleC circleC;

    public CircleB(){

    }

    public CircleB(CircleC circleC){
        this.circleC = circleC;
    }

    public void setCircleC(CircleC circleC) {
        this.circleC = circleC;
    }

    public void b(){
        circleC.c();
    }
}
